﻿@model  CommonSearchModel 
<div class="well form-search">
    <form action='@Url.Action("Search")'>
    <div class="layout-onecolumn">
        <div class="display-label">@Html.DisplayNameFor(m => m.Status, iscolon: true)</div>
        <div class="editor-field">
            @Html.DropDownListFor(model => model.Status, BindDropDownList.GetApprovaStates(), "全部")
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            申请时间：</div>
        <div class="editor-field form-inline">
            @Html.EditorFor(s => s.StartTime)<span style="float: left">-</span>
            @Html.EditorFor(s => s.EndTime)
        </div>
    </div>
    @Html.HiddenFor(m => m.ApplyMan)
 
    <div class='layout-onecolumn'>
        <div class='display-label'>
            账单编号：</div>
        <div class='editor-field'>
            <input name='Keyword' id='Keyword' type='text' onfocus='keyWordEnter()' />
        </div>
    </div>
    <div style='width: 180px; padding-top: 0.5em; float: left;'>
        <button type='button' onclick='Search(this)' id='btnSearchCondition' class='btn btn-primary'>
            搜索</button>
        <button type='button' onclick='RefreshSearchContent()' id='btnRefresh' class='btn'>
            刷新</button>
        @if (ViewData["IsExport"] != null)
        { 
            <button type="button" class="btn" onclick="ApymentReport()">
                导出数据</button>
        
        }
    </div>
    </form>
</div>
